function handleTime (value){
    if(value<10){
        return "0"+value;
    }
    return "" + value;
}
function timepro(value){
    var seconds = Math.floor(value/1000);
    var minutes = handleTime(Math.floor(seconds/60));
    seconds = handleTime(seconds%60);
    var sum = minutes +":"+seconds
    return sum;
}

function numpro(value){
    if(value>=100000000){
        value = Math.floor(value/100000000)+"亿"
    }else if(value>=10000){
        value = Math.floor(value/10000)+"万"
    }
    return value
}
module.exports={
    timepro,
    numpro
}